<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width; user-scalable=0;" />
    <title>My HTML</title>
</head>
<body>
<h1>MyHTML</h1>
<p id="mytext">Hello!</p>
<input type="button" value="Say hello" onClick="window.AndroidFunction.showAndroidToast('Hello Android!')" />
<input type="button" value="Open Dialog" onClick="window.AndroidFunction.openAndroidDialog()" />
<script language="javascript">
   function callFromActivity(msg){
        document.getElementById("mytext").innerHTML = msg;
   }
</script>

</body>
</html>